package com.wchat.service;

import com.wchat.bean.entity.Users;

/**
 * @author : willian fu
 * @date : 2021/8/27
 */
public interface UserService {

    Object login(String username, String password);

    Object userRegister(String mobile, String username, String avatar, String password);

    Object updateInfo(Users user);

    Object getUserInfoById(Integer userId);

    Object updatePassword(String oldPsw, String newPsw);
}
